/**
 * 
 */
package com.edocbase.biz.translation;

import java.util.Collection;

/**
 * @author X61
 *
 */
public class CollectionFunction {
	private static CollectionFunction cf = null;
	public boolean isEmpty(Collection c){
		return c.isEmpty();
	}
	public boolean isNotEmpty(Collection c){
		return !isEmpty(c);
	}
	public int size(Collection c){
		return c.size();
	}
	public static Object getFunction() {
		if (cf == null){
			cf = new CollectionFunction();
		}
		return cf;
	}
}
